import com.sun.org.apache.xml.internal.res.XMLErrorResources_tr;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.security.Signature;

public class getclass{
    public static void main(String[] args) {
        mean mean = new mean();
        Class<?> cls = mean.getClass();
        //System.out.println(cls.toString());
        Method[] methods = cls.getMethods();
        for(Method method:methods){
            //seelog anno = method.getAnnotation(seelog.class);
            boolean flag = method.getAnnotation(seelog.class)!=null;
            //System.out.println(method);
            System.out.println(method.toString());
            if(flag){
                seelog anno = method.getAnnotation(seelog.class);
                //System.out.println(anno);
                String x =  anno.operation();
                System.out.println("xxxxxxxx");
                System.out.println("x="+x);
            }
        }
    }

}
